import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";
import Home from "../views/httpTest.vue"
const routes:RouteRecordRaw[] = [
    {
        path:'/',
        component:Home
    },{
        path: '/oyster_big',
        name: 'oyster_big',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/oyster/Index_big.vue')
    },
    {
        path: '/l1l',
        name: 'l1l',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/oyster/Index_line1little.vue')
    },
    {
        path: '/l2l',
        name: 'l2l',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/oyster/Index_line2little.vue')
    },
    {
        path: '/xinhaoxuan_big',
        name: 'xinhaoxuan_big',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/xinhaoxuan/Index_big.vue')
    }
]
const router = createRouter({
    routes,
    history:createWebHistory()
})

export default router
